package com.jingdong.repository;


import com.jingdong.pojo.GuanZhuDetail;
import com.jingdong.pojo.QianDaoDetail;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

public interface QianDaoRepository extends JpaRepository<QianDaoDetail,String> {


    @Query(value = "select id,url,times from qiandao b where b.url=:url " ,nativeQuery=true)
    QianDaoDetail findQiandaoDeatil(@Param("url") String url) throws  Exception;

}
